﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Client.Commands
{
    /// <summary>
    /// 命令
    /// </summary>
    interface ICommand
    {
        /// <summary>
        /// 获取命令
        /// </summary>
        string CommandCode { get; }

        /// <summary>
        /// 
        /// </summary>
        string CommandHelpExplain { get; }

        /// <summary>
        /// 发送命令
        /// </summary>
        /// <param name="args">参数集合</param>
        bool SendCommand(string args);
    }
}
